
    <ion-view view-title="地址管理">
        <ion-nav-buttons side="left">
            <a class="button button-icon icon ion-ios-arrow-left" href="#/tab/home">
            </a>
        </ion-nav-buttons>
        <ion-content style="background-color: white;font-size: 15px;">
          <ion-list>
            <ion-item class="item item-icon-right item-remove-animate" ng-click="selectAddress(item)"  ng-repeat="item in addressData" >
              <div>
                  <span ng-class=" item.is_default==true ? 'AddressColor':''" ng-bind="item.name"></span>
                  <span style="margin-right: 25px" ng-class="item.is_default==true? 'AddressColor':''" ng-bind="item.phone"></span>
              </div>
                <div style="white-space: normal" ng-class="item.is_default==true? 'AddressColor':''" ng-bind="item.is_default==true?'默认 '+item.address_detail:item.address_detail">
                </div>
                <i class="icon ion-ios-arrow-right"></i>
              <ion-option-button class="button-calm" ng-click="">
                编辑
              </ion-option-button>
              <ion-option-button class="button-assertive" ng-click="deleteAddress(item)">
                删除
              </ion-option-button>
            </ion-item>
          </ion-list>
            <!--<div class="item item-icon-right" ng-click="selectAddress(1)"  >-->
                <!--<div ng-class=" AddressColor==false ? '':'AddressColor'">-->
                    <!--<span>郑先生</span>-->
                    <!--<span style="margin-right: 25px">132******89</span>-->
                <!--</div>-->
                <!--<div style="white-space: normal" ng-class=" AddressColor==false ? '':'AddressColor'">-->
                   <!--默认  辽宁省大连市甘井子区虹港路6号5区海淀大厦4楼801-2-->
                <!--</div>-->
                <!--<i class="icon ion-ios-arrow-right"></i>-->
            <!--</div>-->
        </ion-content>
        <div style="background: white;position: absolute;width: 100%;bottom: 0;text-align: center" >
            <button class="button " style="margin: 0 5% 20px 5%;width: 90%;border-radius: 10px;color: white;background: rgb(251,72,66)" ng-click="goAddAddress()">添加新地址</button>
        </div>
    </ion-view>


